package com.smarttest.portal.mapper;

import com.smarttest.portal.pojo.DbAutoRelease;
import com.smarttest.portal.pojo.DbAutoReleaseExample;

import java.util.LinkedHashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface DbAutoReleaseMapper {
    int countByExample(DbAutoReleaseExample example);

    int deleteByExample(DbAutoReleaseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DbAutoRelease record);
    
    int insertAndGetId(DbAutoRelease record);
    
    int insertSelective(DbAutoRelease record);

    List<DbAutoRelease> selectByExampleWithBLOBs(DbAutoReleaseExample example);

    List<DbAutoRelease> selectByExample(DbAutoReleaseExample example);

    DbAutoRelease selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DbAutoRelease record, @Param("example") DbAutoReleaseExample example);

    int updateByExampleWithBLOBs(@Param("record") DbAutoRelease record, @Param("example") DbAutoReleaseExample example);

    int updateByExample(@Param("record") DbAutoRelease record, @Param("example") DbAutoReleaseExample example);

    int updateByPrimaryKeySelective(DbAutoRelease record);

    int updateByPrimaryKeyWithBLOBs(DbAutoRelease record);

    int updateByPrimaryKey(DbAutoRelease record);
    List<LinkedHashMap<String, Object>> superManagerSelect(String sql);
}